// miniprogram/pages/gerenzhongxin/gerenzhongxin.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
  xingxiarr:[
      {
      name:"消费金额",
      num:"￥0.00",
    },
    {
      name:"积分",
      num:"0",
    },
    {
      name:"收藏",
      num:"0",
    },
    {
      name:"账户余额",
      num:"￥0.00",
    },
  ],
  dingdan:[
    {
      imgsrc:"https://m.qpic.cn/psc?/V52Nm1aL3xiZRi2CArQp4LEE9y2vjS9x/ruAMsa53pVQWN7FLK88i5qKM9JL6GV.IJ9Z6RRegO2WU1F4NgnjFRgOztknx.18rXnfh5IenxF.mXLoa6HkI97gPcACh2iuFW99YdTwBBZY!/mnull&bo=SABIAAAAAAADByI!&rf=photolist&t=5",
      name:"待付款"
    },
    {
      imgsrc:"https://m.qpic.cn/psc?/V52Nm1aL3xiZRi2CArQp4LEE9y2vjS9x/ruAMsa53pVQWN7FLK88i5qKM9JL6GV.IJ9Z6RRegO2Wlay9Le1gKfAjYLMTcGRj66JRbWcIG94syZyooY3LgqEqR5josNTFx1o655KcZ6z8!/mnull&bo=SABIAAAAAAADByI!&rf=photolist&t=5",
      name:"待发货"
    },
    {
      imgsrc:"https://m.qpic.cn/psc?/V52Nm1aL3xiZRi2CArQp4LEE9y2vjS9x/ruAMsa53pVQWN7FLK88i5qKM9JL6GV.IJ9Z6RRegO2WfgOoxMhc6EUApJScRl5Qmkb3kMm0Kl5e8ohhMBggA5u.kmarVwEwq66vW2dxS9VY!/mnull&bo=SABIAAAAAAADByI!&rf=photolist&t=5",
      name:"待收货"
    },
    {
      imgsrc:"https://m.qpic.cn/psc?/V52Nm1aL3xiZRi2CArQp4LEE9y2vjS9x/ruAMsa53pVQWN7FLK88i5qKM9JL6GV.IJ9Z6RRegO2X.x6KsYM3CLZFpDOC3CFwMprYbh1VLEaXALR8DmY2*vanR*cAJanNljASpYl2vtB4!/mnull&bo=SABIAAAAAAADByI!&rf=photolist&t=5",
      name:"待评价"
    },
    {
      imgsrc:"https://m.qpic.cn/psc?/V52Nm1aL3xiZRi2CArQp4LEE9y2vjS9x/ruAMsa53pVQWN7FLK88i5iIghyNr5NZgFIlZhXVT7ZmiJsrQCsn7i6ie1Htv9Tsd979iimyjNJ8YLKRevAAqcT.4nLWWpQwP7Xvt4FJQidc!/mnull&bo=SABIAAAAAAADByI!&rf=photolist&t=5",
      name:"售后"
    },
  ],
  fuwuarry:[
    {
      img:"https://m.qpic.cn/psc?/V52Nm1aL3xiZRi2CArQp4LEE9y2vjS9x/ruAMsa53pVQWN7FLK88i5ugJzHmBGLvmGGcJ*ZHlisQ6jgbC9ybuDdtHYzZuUfQsHr3U1HWQOUN3yVmwhxFF7IGxAqdxoFwKLF*asPlru5M!/mnull&bo=LAAsAAAAAAADByI!&rf=photolist&t=5",
      names:"地址管理"
    },
    {
      img:"https://m.qpic.cn/psc?/V52Nm1aL3xiZRi2CArQp4LEE9y2vjS9x/ruAMsa53pVQWN7FLK88i5ugJzHmBGLvmGGcJ*ZHlisRamB.xsL4G*82m3j.9deO1NrqPTqDVDBsrPN60HJzb7gdN.b5DUWJL1.PupYMxu.M!/mnull&bo=LAAsAAAAAAADByI!&rf=photolist&t=5",
      names:"我的收藏"
    },
    {
      img:"https://m.qpic.cn/psc?/V52Nm1aL3xiZRi2CArQp4LEE9y2vjS9x/ruAMsa53pVQWN7FLK88i5j.F1ZNQtTdZGgI*6xKVu0WIZQhCjvYJaSzxAydC6xKtQ6u3JapdqEjke7QtQ7xj..La1i5EtES7LMGvasZsZEw!/mnull&bo=MgAyAAAAAAADByI!&rf=photolist&t=5",
      names:"客服服务"
    },
    {
      img:"https://m.qpic.cn/psc?/V52Nm1aL3xiZRi2CArQp4LEE9y2vjS9x/ruAMsa53pVQWN7FLK88i5j.F1ZNQtTdZGgI*6xKVu0VJV7ekS2Jq0QTMmcKvafdbIss6SmLt1WWpKyI8dGvWrAu*tiLakpw9Y6Ks1u4kByM!/mnull&bo=MgAyAAAAAAADByI!&rf=photolist&t=5",
      names:"实名认证"
    },
  ],
  
  userInfo:{},

  },
  updateuserInfo(){
    wx.navigateTo({
      url: '../userInfo/userInfo',
    })
  },
  gotopage0(){
    wx.navigateTo({
      url: '../Address/Address',//地址管理子页面
    })
  },
  gotopage1(){
    wx.navigateTo({
      url: '../Collection/Collection',//我的收藏页面跳转
    })
  },
  //下面可添加客服服务，实名认证跳转
  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {
    this.setData({
      userInfo:wx.userInfo
    })

  },
  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady: function () {

  },

  /**
   * 生命周期函数--监听页面显示
   */
  onShow: function () {

  },

  /**
   * 生命周期函数--监听页面隐藏
   */
  onHide: function () {

  },

  /**
   * 生命周期函数--监听页面卸载
   */
  onUnload: function () {

  },

  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh: function () {

  },

  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom: function () {

  },

  /**
   * 用户点击右上角分享
   */
  onShareAppMessage: function () {

  }
})